Package com.cisco.pt.ipc.sim.impl
Class VTPProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.VTPProcessImpl
- All Implemented Interfaces:
IPCObject,Process,VTPProcess
Information provided by the PKI file:
\class VtpProcess
\brief VtpProcess handles and manipulates the VTP process.
\example network().getDevice("Switch0").getProcess("VtpProcess")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionVTPProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:Information provided by the PKI file:getMode()Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:voidsetDomainName(String domainName) Information provided by the PKI file:voidInformation provided by the PKI file:voidsetPassword(String password) Information provided by the PKI file:voidsetVersion(Byte version) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
VTPProcessImpl
public VTPProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setDomainName
Information provided by the PKI file:
\brief Sets the VTP domain name. \param domainName, the domain name.- Specified by:
setDomainNamein interfaceVTPProcess- Parameters:
domainName- Takes in a parameter of domainName
-
getDomainName
Information provided by the PKI file:
\brief Returns the VTP domain name. \return string, the domain name.- Specified by:
getDomainNamein interfaceVTPProcess- Returns:
- String Returns a String
-
setMode
Information provided by the PKI file:
\brief Sets the VTP mode. \param type, the VTP mode. VTP modes: eVtpServer = 0, eVtpClient = 1, eVtpTransparent = 2- Specified by:
setModein interfaceVTPProcess- Parameters:
type- Takes in a parameter of type
-
getMode
Information provided by the PKI file:
\brief Returns the VTP mode. \return VtpMode, the VTP mode. VTP modes: eVtpServer = 0, eVtpClient = 1, eVtpTransparent = 2- Specified by:
getModein interfaceVTPProcess- Returns:
- VTPMode Returns a VTPMode
-
setVersion
Information provided by the PKI file:
\brief Sets the VTP version. \param version, the VTP version.- Specified by:
setVersionin interfaceVTPProcess- Parameters:
version- Takes in a parameter of version
-
getVersion
Information provided by the PKI file:
\brief Returns the VTP version. \return byte, the VTP version.- Specified by:
getVersionin interfaceVTPProcess- Returns:
- Byte Returns a Byte
-
setPassword
Information provided by the PKI file:
\brief Sets the VTP password. \param password, the VTP version.- Specified by:
setPasswordin interfaceVTPProcess- Parameters:
password- Takes in a parameter of password
-
getPassword
Information provided by the PKI file:
\brief Returns the VTP password. \param string, the VTP version.- Specified by:
getPasswordin interfaceVTPProcess- Returns:
- String Returns a String
-
getConfigRevision
public int getConfigRevision()Information provided by the PKI file:
\brief Returns the configuration revision number. \return int, the configuration revision number.- Specified by:
getConfigRevisionin interfaceVTPProcess- Returns:
- int Returns a int
-